<?php
/**
 * Created by PhpStorm.
 * User: rocky
 * Date: 2019-07-14
 * Time: 01:24
 */

namespace app\api\resource;

use app\common\resource\BaseResource;

class UserResoure extends BaseResource
{
    public function toArray($data){
        return [
            'id'=>$data['id'],
        ];
    }

}